package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * favorable对象 favorable
 * 
 * @author ruoyi
 * @date 2024-12-16
 */
public class Favorable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 价值 */
    @Excel(name = "价值")
    private Long money;

    /** 描述 */
    @Excel(name = "描述")
    private String details;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 优惠值 */
    @Excel(name = "优惠值")
    private Long value;

    /** 优惠数量 */
    @Excel(name = "优惠数量")
    private Long counts;

    /** 可领取数量 */
    @Excel(name = "可领取数量")
    private Long nums;

    /** 使用范围 */
    @Excel(name = "使用范围")
    private Long uses;

    /** 名称 */
    @Excel(name = "名称")
    private String names;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setValue(Long value) 
    {
        this.value = value;
    }

    public Long getValue() 
    {
        return value;
    }
    public void setCounts(Long counts) 
    {
        this.counts = counts;
    }

    public Long getCounts() 
    {
        return counts;
    }
    public void setNums(Long nums) 
    {
        this.nums = nums;
    }

    public Long getNums() 
    {
        return nums;
    }
    public void setUses(Long uses) 
    {
        this.uses = uses;
    }

    public Long getUses() 
    {
        return uses;
    }
    public void setNames(String names) 
    {
        this.names = names;
    }

    public String getNames() 
    {
        return names;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("image", getImage())
            .append("money", getMoney())
            .append("details", getDetails())
            .append("type", getType())
            .append("value", getValue())
            .append("counts", getCounts())
            .append("nums", getNums())
            .append("uses", getUses())
            .append("names", getNames())
            .toString();
    }
}
